package com.zmx.patients.fragment.live;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;

import com.zmx.patients.R;
import com.zmx.patients.view.activity.LiveDetailsActivity;


public class LiveIngFragment extends Fragment {

    RelativeLayout zhibo;
    RelativeLayout zhibo1;
    RelativeLayout zhiboc;
    RelativeLayout zhibo1d;
    RelativeLayout zhiboc2;
    RelativeLayout zhibo1d3;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {

        View view = inflater.inflate(R.layout.fragment_live_ing, container, false);

        zhibo = view.findViewById(R.id.zhibo);
        zhibo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(LiveIngFragment.this.getContext(), LiveDetailsActivity.class);
                startActivity(intent);
            }
        });
        zhibo1 = view.findViewById(R.id.zhibo1);
        zhibo1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(LiveIngFragment.this.getContext(), LiveDetailsActivity.class);
                startActivity(intent);
            }
        });
        zhiboc = view.findViewById(R.id.zhiboc);
        zhiboc.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(LiveIngFragment.this.getContext(), LiveDetailsActivity.class);
                startActivity(intent);
            }
        });
        zhibo1d = view.findViewById(R.id.zhibo1d);
        zhibo1d.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(LiveIngFragment.this.getContext(), LiveDetailsActivity.class);
                startActivity(intent);
            }
        });
        zhiboc2 = view.findViewById(R.id.zhiboc2);
        zhiboc2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(LiveIngFragment.this.getContext(), LiveDetailsActivity.class);
                startActivity(intent);
            }
        });
        zhibo1d3 = view.findViewById(R.id.zhibo1d3);
        zhibo1d3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent();
                intent.setClass(LiveIngFragment.this.getContext(), LiveDetailsActivity.class);
                startActivity(intent);
            }
        });


        return view;

    }

}